<div>
  <h5>全选反选</h5>
<p *ngFor="let datas of data">{{datas.name}}</p>
</div>
<span (click)="add()">加</span>
<input type="number"  [(ngModel)]="number">
<span (click)="reduce()">减</span>

<app-test></app-test>
